package com.dd.cloud.user.req.doctor;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author Lx
 * @version 1.0
 */
@Data
public class DoctorWithdrawIncomeReq {
    /**
     * 提现金额
     */
    @NotNull(message = "提现金额不能为空")
    @Min(value = 5000, message = "最小提现金额500元")
    private Integer withdrawAmount;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 验证码
     */
    @Size(min = 6, max = 6, message = "6位验证码")
    @NotBlank(message = "验证码不能为空")
    private String code;
}
